<?php

namespace App\Models;

use Spatie\Permission\Models\Permission as BasePermission;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * Class Permission
 * @package App\Models
 * @version November 14, 2017, 3:42 am UTC
 *
 * @property string name
 */
class Permission extends BasePermission
{
    use SoftDeletes;

    public $table = 'permissions';


    protected $dates = ['deleted_at'];


    public $fillable = [
        'name',
        'remarks',
        'guard_name'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'name' => 'string'
    ];

}
